package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysBusinessFinance;

/**
 * 商家财务Mapper接口
 * 
 * @author ruoyi
 * @date 2024-04-06
 */
public interface SysBusinessFinanceMapper 
{
    /**
     * 查询商家财务
     * 
     * @param id 商家财务主键
     * @return 商家财务
     */
    public SysBusinessFinance selectSysBusinessFinanceById(String id);
    public SysBusinessFinance selectSysBusinessFinanceByBusinessId(String businessId);

    /**
     * 查询商家财务列表
     * 
     * @param sysBusinessFinance 商家财务
     * @return 商家财务集合
     */
    public List<SysBusinessFinance> selectSysBusinessFinanceList(SysBusinessFinance sysBusinessFinance);

    /**
     * 新增商家财务
     * 
     * @param sysBusinessFinance 商家财务
     * @return 结果
     */
    public int insertSysBusinessFinance(SysBusinessFinance sysBusinessFinance);

    /**
     * 修改商家财务
     * 
     * @param sysBusinessFinance 商家财务
     * @return 结果
     */
    public int updateSysBusinessFinance(SysBusinessFinance sysBusinessFinance);

    /**
     * 删除商家财务
     * 
     * @param id 商家财务主键
     * @return 结果
     */
    public int deleteSysBusinessFinanceById(String id);

    /**
     * 批量删除商家财务
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBusinessFinanceByIds(String[] ids);
}
